package com.wf.constant;

/**
 * Redis常量类，用于定义和管理Redis中的键命名规则。
 * 主要涉及用户信息验证、房屋历史记录、房屋收藏量、浏览量以及图片和发票申请的相关键。
 *
 * @author mpk
 * @since 2024/9/4 18:21:35
 */
public class RedisConstant {

    // 手机验证码键前缀
    public static final String APARTMENT_USER_INFO_BY_PHONE_CODE = "apartment::user::info::phone::code::";

    // 手机验证码发送时间键前缀
    public static final String APARTMENT_USER_INFO_BY_PHONE_CODE_TIME = "apartment::user::info::phone::code::time::";

    // 邮箱验证码键前缀
    public static final String APARTMENT_USER_INFO_BY_EMAIL_CODE = "apartment::user::info::email::code::";

    // 邮箱验证码发送时间键前缀
    public static final String APARTMENT_USER_INFO_BY_EMAIL_CODE_TIME = "apartment::user::info::email::code::time::";

    // 房屋历史记录列表键前缀
    public static final String APARTMENT_HISTORY_LIST = "apartment::history::list::";

    // 房屋收藏量键前缀
    public static final String APARTMENT_HOUSE_FAVORITE_COUNT = "apartment::house::favorite::count::";

    // 房屋浏览量键前缀
    public static final String APARTMENT_HOUSE_VIEW_COUNT = "apartment::house::view::count::";

    // 所有图片键前缀
    public static final String APARTMENT_ALL_IMG = "apartment::all::img";

    // 已使用的图片键前缀
    public static final String APARTMENT_USED_IMG = "apartment::used::img";

    //所有文件前缀
    public static final String APARTMENT_ALL_FILE = "apartment::all::file";
    //已使用的文件前缀
    public static final String APARTMENT_USED_FILE = "apartment::used::file";

    // 发票申请键前缀
    public static final String APARTMENT_INVOICE_APPLY = "apartment::invoice::apply";

    //签约申请
    public static final String APARTMENT_SIGN_APPLY = "apartment::sign::apply";


}
